<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>admin_login page</title>
<base href="<?php echo base_url();?>"  />
<script language="JavaScript" type="text/javascript" src="js/jquery-1.3.2.min.js"></script>
<script language="JavaScript" type="text/javascript">
function check(){
	if($("#usrname").val()=="")
		{
		$("#usrname").focus();
		$("#notice").html('<font color=red>Please fill in the information!</font>');
		return false;
		}
	if($("#pwd").val()=="")
	{
		$("#pwd").focus();
		$("#notice").html('<font color=red>Please fill in the information!</font>');
		return false;
	}
       }
</script>
<!-- Reset Stylesheet -->
<link rel="stylesheet" href="css/reset.css" type="text/css" media="screen" />
  
<!-- Main Stylesheet -->
<link rel="stylesheet" href="css/style.css" type="text/css" media="screen" />

<!-- Invalid Stylesheet. This makes stuff look pretty. Remove it if you want the CSS completely valid -->
<link rel="stylesheet" href="css/invalid.css" type="text/css" media="screen" />
</head>

<body id="login">		
	<div id="login-wrapper" class="png_bg">
		<div id="login-top">
			<h1>Abook Admin</h1>
			<a href="#"><img id="logo" src="images/logo.png" alt="Simpla Admin logo" /></a>
		</div> 
		
		<div id="login-content">
		<p id="notice"></p>
			<form action="<?php echo site_url('welcome/check_login');?>" method="post" >
				<div class="notification information png_bg" style="display:none">
					<div>
						Just click "Sign In". No password needed.
					</div>
				</div>
				
				<p>
					<label>Username</label>
					<input type="text" name="usrname" id="usrname" class="text-input"  />
				</p>
				<div class="clear"></div>
				<p>
					<label>Password</label>
					<input type="password" name="pwd" id="pwd" class="text-input" />
				</p>
				<div class="clear"></div>
				<p id="remember-password" style="display:none">
					<input type="checkbox" />Remember me
				</p>
				<div class="clear"></div>
				<p>
					<input type="submit" name="submit" id="submit"  value="Submit" class="button" onclick="return check()"/>
				</p>
				
			</form>
		</div> 
	</div>
</body>
</html>
